﻿
namespace SPL.Windows.Forms
{
	/// <summary>
	/// abstract Gpp typed datagridview
	/// </summary>
	[System.ComponentModel.DesignerCategoryAttribute("code")]
	public abstract class GppDataGridViewBase : System.Windows.Forms.UserControl
	{	
		/// <summary> 
		/// Thrown when the current Entity changed.
		/// </summary>
		public event System.EventHandler<GppDataGridViewEventArgs> CurrentEntityChanged;
		
		#region Fields
				
		/// <summary> 
		/// the current entity.
		/// </summary>
		private Entities.Gpp _currentGpp = null;
		//private Dictionary<string, string> _columnsHeaders = new Dictionary<string, string>();
		
		/// <summary> 
		/// the datagridview instance
		/// </summary>
		protected System.Windows.Forms.DataGridView uxGppDataGridView;
		
		/// <summary> 
		/// the errorprovider
		/// </summary>
		protected System.Windows.Forms.ErrorProvider uxGppErrorProvider;
		
		/// <summary> 
		/// the bindingsource
		/// </summary>
		protected System.Windows.Forms.BindingSource uxGppBindingSource;
		
		
		/// <summary> 
		/// the DGV column associated with the Id property
		/// </summary>
		protected System.Windows.Forms.DataGridViewTextBoxColumn uxIdDataGridViewColumn;
		
		/// <summary> 
		/// the DGV column associated with the I1InputDate property
		/// </summary>
		protected System.Windows.Forms.DataGridViewTextBoxColumn uxI1InputDateDataGridViewColumn;
		
		/// <summary> 
		/// the DGV column associated with the I2KhiAm property
		/// </summary>
		protected System.Windows.Forms.DataGridViewTextBoxColumn uxI2KhiAmDataGridViewColumn;
		
		/// <summary> 
		/// the DGV column associated with the I3Cond property
		/// </summary>
		protected System.Windows.Forms.DataGridViewTextBoxColumn uxI3CondDataGridViewColumn;
		
		/// <summary> 
		/// the DGV column associated with the I4pCcp property
		/// </summary>
		protected System.Windows.Forms.DataGridViewTextBoxColumn uxI4pCcpDataGridViewColumn;
		
		/// <summary> 
		/// the DGV column associated with the I6Pi0101 property
		/// </summary>
		protected System.Windows.Forms.DataGridViewTextBoxColumn uxI6Pi0101DataGridViewColumn;
		
		/// <summary> 
		/// the DGV column associated with the I7Fiq0401 property
		/// </summary>
		protected System.Windows.Forms.DataGridViewTextBoxColumn uxI7Fiq0401DataGridViewColumn;
		
		/// <summary> 
		/// the DGV column associated with the I8Fiq0301 property
		/// </summary>
		protected System.Windows.Forms.DataGridViewTextBoxColumn uxI8Fiq0301DataGridViewColumn;
		
		/// <summary> 
		/// the DGV column associated with the I9Fiq0302 property
		/// </summary>
		protected System.Windows.Forms.DataGridViewTextBoxColumn uxI9Fiq0302DataGridViewColumn;
		
		/// <summary> 
		/// the DGV column associated with the I10Fi102ByPass property
		/// </summary>
		protected System.Windows.Forms.DataGridViewTextBoxColumn uxI10Fi102ByPassDataGridViewColumn;
		
		/// <summary> 
		/// the DGV column associated with the I11Fiq26010h property
		/// </summary>
		protected System.Windows.Forms.DataGridViewTextBoxColumn uxI11Fiq26010hDataGridViewColumn;
		
		/// <summary> 
		/// the DGV column associated with the I12Fiq260124h property
		/// </summary>
		protected System.Windows.Forms.DataGridViewTextBoxColumn uxI12Fiq260124hDataGridViewColumn;
		
		/// <summary> 
		/// the DGV column associated with the I13Fiq2601Da property
		/// </summary>
		protected System.Windows.Forms.DataGridViewTextBoxColumn uxI13Fiq2601DaDataGridViewColumn;
		
		/// <summary> 
		/// the DGV column associated with the I14Fiq26020h property
		/// </summary>
		protected System.Windows.Forms.DataGridViewTextBoxColumn uxI14Fiq26020hDataGridViewColumn;
		
		/// <summary> 
		/// the DGV column associated with the I15Fiq260224h property
		/// </summary>
		protected System.Windows.Forms.DataGridViewTextBoxColumn uxI15Fiq260224hDataGridViewColumn;
		
		/// <summary> 
		/// the DGV column associated with the I16Fiq2602Da property
		/// </summary>
		protected System.Windows.Forms.DataGridViewTextBoxColumn uxI16Fiq2602DaDataGridViewColumn;
		
		/// <summary> 
		/// the DGV column associated with the I17Fiq26030h property
		/// </summary>
		protected System.Windows.Forms.DataGridViewTextBoxColumn uxI17Fiq26030hDataGridViewColumn;
		
		/// <summary> 
		/// the DGV column associated with the I18Fiq260324h property
		/// </summary>
		protected System.Windows.Forms.DataGridViewTextBoxColumn uxI18Fiq260324hDataGridViewColumn;
		
		/// <summary> 
		/// the DGV column associated with the I19Fiq2603Da property
		/// </summary>
		protected System.Windows.Forms.DataGridViewTextBoxColumn uxI19Fiq2603DaDataGridViewColumn;
		
		/// <summary> 
		/// the DGV column associated with the I20XeBon property
		/// </summary>
		protected System.Windows.Forms.DataGridViewTextBoxColumn uxI20XeBonDataGridViewColumn;
		
		/// <summary> 
		/// the DGV column associated with the I21Fiq2402 property
		/// </summary>
		protected System.Windows.Forms.DataGridViewTextBoxColumn uxI21Fiq2402DataGridViewColumn;
		
		/// <summary> 
		/// the DGV column associated with the I22Me240h property
		/// </summary>
		protected System.Windows.Forms.DataGridViewTextBoxColumn uxI22Me240hDataGridViewColumn;
		
		/// <summary> 
		/// the DGV column associated with the I23Me2424h property
		/// </summary>
		protected System.Windows.Forms.DataGridViewTextBoxColumn uxI23Me2424hDataGridViewColumn;
		
		/// <summary> 
		/// the DGV column associated with the I24TenMeCondBh property
		/// </summary>
		protected System.Windows.Forms.DataGridViewTextBoxColumn uxI24TenMeCondBhDataGridViewColumn;
		
		/// <summary> 
		/// the DGV column associated with the I25Me250h property
		/// </summary>
		protected System.Windows.Forms.DataGridViewTextBoxColumn uxI25Me250hDataGridViewColumn;
		
		/// <summary> 
		/// the DGV column associated with the I26Me2524h property
		/// </summary>
		protected System.Windows.Forms.DataGridViewTextBoxColumn uxI26Me2524hDataGridViewColumn;
		
		/// <summary> 
		/// the DGV column associated with the I27Me260h property
		/// </summary>
		protected System.Windows.Forms.DataGridViewTextBoxColumn uxI27Me260hDataGridViewColumn;
		
		/// <summary> 
		/// the DGV column associated with the I28Me2624h property
		/// </summary>
		protected System.Windows.Forms.DataGridViewTextBoxColumn uxI28Me2624hDataGridViewColumn;
		
		/// <summary> 
		/// the DGV column associated with the I29KctvNhanLpg property
		/// </summary>
		protected System.Windows.Forms.DataGridViewTextBoxColumn uxI29KctvNhanLpgDataGridViewColumn;
		
		/// <summary> 
		/// the DGV column associated with the I30KctvNhanCond property
		/// </summary>
		protected System.Windows.Forms.DataGridViewTextBoxColumn uxI30KctvNhanCondDataGridViewColumn;
		
		/// <summary> 
		/// the DGV column associated with the I31ApSuat property
		/// </summary>
		protected System.Windows.Forms.DataGridViewTextBoxColumn uxI31ApSuatDataGridViewColumn;
		
		/// <summary> 
		/// the DGV column associated with the I32Me13a property
		/// </summary>
		protected System.Windows.Forms.DataGridViewTextBoxColumn uxI32Me13aDataGridViewColumn;
		
		/// <summary> 
		/// the DGV column associated with the I33Me13b property
		/// </summary>
		protected System.Windows.Forms.DataGridViewTextBoxColumn uxI33Me13bDataGridViewColumn;
		
		/// <summary> 
		/// the DGV column associated with the I34Fiq5801 property
		/// </summary>
		protected System.Windows.Forms.DataGridViewTextBoxColumn uxI34Fiq5801DataGridViewColumn;
		
		/// <summary> 
		/// the DGV column associated with the I35v21aMucBon property
		/// </summary>
		protected System.Windows.Forms.DataGridViewTextBoxColumn uxI35v21aMucBonDataGridViewColumn;
		
		/// <summary> 
		/// the DGV column associated with the I36v21bMucBon property
		/// </summary>
		protected System.Windows.Forms.DataGridViewTextBoxColumn uxI36v21bMucBonDataGridViewColumn;
		
		/// <summary> 
		/// the DGV column associated with the I37v21cMucBon property
		/// </summary>
		protected System.Windows.Forms.DataGridViewTextBoxColumn uxI37v21cMucBonDataGridViewColumn;
		
		/// <summary> 
		/// the DGV column associated with the I38Tk21MucBon property
		/// </summary>
		protected System.Windows.Forms.DataGridViewTextBoxColumn uxI38Tk21MucBonDataGridViewColumn;
		
		/// <summary> 
		/// the DGV column associated with the I109NoteBcn property
		/// </summary>
		protected System.Windows.Forms.DataGridViewTextBoxColumn uxI109NoteBcnDataGridViewColumn;
		
		/// <summary> 
		/// the DGV column associated with the I110NoteSplbh property
		/// </summary>
		protected System.Windows.Forms.DataGridViewTextBoxColumn uxI110NoteSplbhDataGridViewColumn;
		
		/// <summary> 
		/// the DGV column associated with the I111NoteMeCondBh property
		/// </summary>
		protected System.Windows.Forms.DataGridViewTextBoxColumn uxI111NoteMeCondBhDataGridViewColumn;
		
		/// <summary> 
		/// the DGV column associated with the I112NoteMeCondNcs property
		/// </summary>
		protected System.Windows.Forms.DataGridViewTextBoxColumn uxI112NoteMeCondNcsDataGridViewColumn;
		/// <summary> 
		/// the DGV column associated with the Status property
		/// </summary>
		protected System.Windows.Forms.DataGridViewComboBoxColumn uxStatusDataGridViewColumn;
		/// <summary> 
		/// the DGV column associated with the InputUser property
		/// </summary>
		protected System.Windows.Forms.DataGridViewComboBoxColumn uxInputUserDataGridViewColumn;
		/// <summary> 
		/// the DGV column associated with the Hid property
		/// </summary>
		protected System.Windows.Forms.DataGridViewComboBoxColumn uxHidDataGridViewColumn;
		
		/// <summary> 
		/// the DGV column associated with the CreatedDate property
		/// </summary>
		protected System.Windows.Forms.DataGridViewTextBoxColumn uxCreatedDateDataGridViewColumn;
		
		#endregion
					
		#region Combo list
		
				
		private Entities.TList<Entities.Status> _StatusList;
		
		/// <summary> 
		/// The list of selectable Status
		/// </summary>
		[System.ComponentModel.Category("DropDownList BindingSources")]
		public Entities.TList<Entities.Status> StatusList
		{
			get {return this._StatusList;}
			set 
			{
				this._StatusList = value;
				this.uxStatusDataGridViewColumn.DataSource = null;
				this.uxStatusDataGridViewColumn.DataSource = this._StatusList;
			}
		}
		
		private bool _allowNewItemInStatusList;
		
		/// <summary> 
		/// Indicates if user can add an item in the list of Status
		/// </summary>
		[System.ComponentModel.Category(".netTiers"), System.ComponentModel.Description("Indicates if end user can add a new item in the combobox. an event will be thrown then.")]
		public bool AllowNewItemInStatusList
		{
			get { return _allowNewItemInStatusList;}
			set
			{
				this._allowNewItemInStatusList = value;
				this.uxStatusDataGridViewColumn.DisplayStyle = value ? System.Windows.Forms.DataGridViewComboBoxDisplayStyle.ComboBox : System.Windows.Forms.DataGridViewComboBoxDisplayStyle.DropDownButton;
			}
		}
		
				
		private Entities.TList<Entities.Gpp> _HidList;
		
		/// <summary> 
		/// The list of selectable Gpp
		/// </summary>
		[System.ComponentModel.Category("DropDownList BindingSources")]
		public Entities.TList<Entities.Gpp> HidList
		{
			get {return this._HidList;}
			set 
			{
				this._HidList = value;
				this.uxHidDataGridViewColumn.DataSource = null;
				this.uxHidDataGridViewColumn.DataSource = this._HidList;
			}
		}
		
		private bool _allowNewItemInHidList;
		
		/// <summary> 
		/// Indicates if user can add an item in the list of Gpp
		/// </summary>
		[System.ComponentModel.Category(".netTiers"), System.ComponentModel.Description("Indicates if end user can add a new item in the combobox. an event will be thrown then.")]
		public bool AllowNewItemInHidList
		{
			get { return _allowNewItemInHidList;}
			set
			{
				this._allowNewItemInHidList = value;
				this.uxHidDataGridViewColumn.DisplayStyle = value ? System.Windows.Forms.DataGridViewComboBoxDisplayStyle.ComboBox : System.Windows.Forms.DataGridViewComboBoxDisplayStyle.DropDownButton;
			}
		}
		
				
		private Entities.TList<Entities.User> _InputUserList;
		
		/// <summary> 
		/// The list of selectable User
		/// </summary>
		[System.ComponentModel.Category("DropDownList BindingSources")]
		public Entities.TList<Entities.User> InputUserList
		{
			get {return this._InputUserList;}
			set 
			{
				this._InputUserList = value;
				this.uxInputUserDataGridViewColumn.DataSource = null;
				this.uxInputUserDataGridViewColumn.DataSource = this._InputUserList;
			}
		}
		
		private bool _allowNewItemInInputUserList;
		
		/// <summary> 
		/// Indicates if user can add an item in the list of User
		/// </summary>
		[System.ComponentModel.Category(".netTiers"), System.ComponentModel.Description("Indicates if end user can add a new item in the combobox. an event will be thrown then.")]
		public bool AllowNewItemInInputUserList
		{
			get { return _allowNewItemInInputUserList;}
			set
			{
				this._allowNewItemInInputUserList = value;
				this.uxInputUserDataGridViewColumn.DisplayStyle = value ? System.Windows.Forms.DataGridViewComboBoxDisplayStyle.ComboBox : System.Windows.Forms.DataGridViewComboBoxDisplayStyle.DropDownButton;
			}
		}
		
		#endregion
		
		#region Main Datasource
		
		private Entities.TList<Entities.Gpp> _GppList;
				
		/// <summary> 
		/// The list of Gpp to be displayed in the DGV.
		/// </summary>
		[System.ComponentModel.Category("Data")]
		public Entities.TList<Entities.Gpp> GppList
		{
			get {return this._GppList;}
			set
			{
				this._GppList = value;
				this.uxGppBindingSource.DataSource = null;
				this.uxGppBindingSource.DataSource = value;
				this.uxGppDataGridView.DataSource = null;
				this.uxGppDataGridView.DataSource = this.uxGppBindingSource;				
				//this.uxGppBindingSource.ListChanged += new System.ComponentModel.ListChangedEventHandler(uxGppBindingSource_ListChanged);
				this.uxGppBindingSource.CurrentItemChanged += new System.EventHandler(OnGppBindingSourceCurrentItemChanged);
			}
		}
		
		private void OnGppBindingSourceCurrentItemChanged(object sender, System.EventArgs e)
		{
			_currentGpp = uxGppBindingSource.Current as Entities.Gpp;
			
			if (_currentGpp != null)
			{
				_currentGpp.Validate();
			}
			//_Gpp.Validate();
			OnCurrentEntityChanged();
		}

		//void uxGppBindingSource_ListChanged(object sender, System.ComponentModel.ListChangedEventArgs e)
		//{
			//throw new Exception("The method or operation is not implemented.");
		//}		
		
		#endregion
		
		/// <summary>
		/// Gets the currently selected <c cref="Entities.Gpp"/> instance.
		/// </summary>
		public Entities.Gpp SelectedGpp
		{
			get {return this._currentGpp;}
		}
		
		#region other properties
		
		/// <summary>
		/// Gets or sets a value indicating whether you have provided your own data-management operations for the DataGridView control.
		/// </summary>
		[System.ComponentModel.Category(".netTiers")]
		public bool VirtualMode
		{
			get {return this.uxGppDataGridView.VirtualMode;}
			set
			{
				this.uxGppDataGridView.VirtualMode = value;
			}
		}
		
		/// <summary>
		/// Gets or sets a value indicating whether the option to add rows is displayed to the user.
		/// </summary>
		[System.ComponentModel.Category(".netTiers")]
		public bool AllowUserToAddRows
		{
			get {return this.uxGppDataGridView.AllowUserToAddRows;}
			set {this.uxGppDataGridView.AllowUserToAddRows = value;}
		}
		
		/// <summary>
		/// Gets or sets a value indicating whether the user is allowed to delete rows from the DataGridView.
		/// </summary>
		[System.ComponentModel.Category(".netTiers")]
		public bool AllowUserToDeleteRows
		{
			get {return this.uxGppDataGridView.AllowUserToDeleteRows;}
			set {this.uxGppDataGridView.AllowUserToDeleteRows = value;}
		}
		
		/// <summary>
		/// Gets the <c cref="DataGridView"/> instance.
		/// </summary>
		[System.ComponentModel.Category(".netTiers")]
		public System.Windows.Forms.DataGridView DataGridView
		{
			get {return this.uxGppDataGridView;}
		}
		
		/// <summary>
		/// Gets a collection that contains all the columns in the control.
		/// </summary>
		[System.ComponentModel.Category(".netTiers")]		
		[System.ComponentModel.DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Visible)]
		//[System.ComponentModel.EditorAttribute("System.Windows.Forms.Design.DataGridViewColumnCollectionEditor, System.Design", typeof(System.Drawing.Design.UITypeEditor))] 
		public System.Windows.Forms.DataGridViewColumnCollection Columns
		{
			get { return this.uxGppDataGridView.Columns; }
		}
		
		#endregion
		
		/// <summary> 
		/// Required designer variable.
		/// </summary>
		private System.ComponentModel.IContainer components = null;
	
		/// <summary> 
		/// Clean up any resources being used.
		/// </summary>
		/// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
		protected override void Dispose(bool disposing)
		{
			if (disposing && (components != null))
			{
				components.Dispose();
			}
			base.Dispose(disposing);
		}
	
		#region Constructor
	
		/// <summary>
		/// Initializes a new instance of the <see cref="GppDataGridViewBase"/> class.
		/// </summary>
		public GppDataGridViewBase()
		{			
			this.components = new System.ComponentModel.Container();			
			
			this.uxGppDataGridView = new System.Windows.Forms.DataGridView();
			this.uxGppBindingSource = new System.Windows.Forms.BindingSource(this.components);
			this.uxGppErrorProvider = new System.Windows.Forms.ErrorProvider(this.components);
			this.uxIdDataGridViewColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
			this.uxI1InputDateDataGridViewColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
			this.uxI2KhiAmDataGridViewColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
			this.uxI3CondDataGridViewColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
			this.uxI4pCcpDataGridViewColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
			this.uxI6Pi0101DataGridViewColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
			this.uxI7Fiq0401DataGridViewColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
			this.uxI8Fiq0301DataGridViewColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
			this.uxI9Fiq0302DataGridViewColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
			this.uxI10Fi102ByPassDataGridViewColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
			this.uxI11Fiq26010hDataGridViewColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
			this.uxI12Fiq260124hDataGridViewColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
			this.uxI13Fiq2601DaDataGridViewColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
			this.uxI14Fiq26020hDataGridViewColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
			this.uxI15Fiq260224hDataGridViewColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
			this.uxI16Fiq2602DaDataGridViewColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
			this.uxI17Fiq26030hDataGridViewColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
			this.uxI18Fiq260324hDataGridViewColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
			this.uxI19Fiq2603DaDataGridViewColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
			this.uxI20XeBonDataGridViewColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
			this.uxI21Fiq2402DataGridViewColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
			this.uxI22Me240hDataGridViewColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
			this.uxI23Me2424hDataGridViewColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
			this.uxI24TenMeCondBhDataGridViewColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
			this.uxI25Me250hDataGridViewColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
			this.uxI26Me2524hDataGridViewColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
			this.uxI27Me260hDataGridViewColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
			this.uxI28Me2624hDataGridViewColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
			this.uxI29KctvNhanLpgDataGridViewColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
			this.uxI30KctvNhanCondDataGridViewColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
			this.uxI31ApSuatDataGridViewColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
			this.uxI32Me13aDataGridViewColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
			this.uxI33Me13bDataGridViewColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
			this.uxI34Fiq5801DataGridViewColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
			this.uxI35v21aMucBonDataGridViewColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
			this.uxI36v21bMucBonDataGridViewColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
			this.uxI37v21cMucBonDataGridViewColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
			this.uxI38Tk21MucBonDataGridViewColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
			this.uxI109NoteBcnDataGridViewColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
			this.uxI110NoteSplbhDataGridViewColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
			this.uxI111NoteMeCondBhDataGridViewColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
			this.uxI112NoteMeCondNcsDataGridViewColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
			this.uxStatusDataGridViewColumn = new System.Windows.Forms.DataGridViewComboBoxColumn();
			this.uxInputUserDataGridViewColumn = new System.Windows.Forms.DataGridViewComboBoxColumn();
			this.uxHidDataGridViewColumn = new System.Windows.Forms.DataGridViewComboBoxColumn();
			this.uxCreatedDateDataGridViewColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
			//this.uxStatusBindingSource = new StatusBindingSource(this.components);
			//((System.ComponentModel.ISupportInitialize)(this.uxStatusBindingSource)).BeginInit();
			//this.uxHidBindingSource = new GppBindingSource(this.components);
			//((System.ComponentModel.ISupportInitialize)(this.uxHidBindingSource)).BeginInit();
			//this.uxInputUserBindingSource = new UserBindingSource(this.components);
			//((System.ComponentModel.ISupportInitialize)(this.uxInputUserBindingSource)).BeginInit();
			((System.ComponentModel.ISupportInitialize)(this.uxGppDataGridView)).BeginInit();
			((System.ComponentModel.ISupportInitialize)(this.uxGppBindingSource)).BeginInit();
			((System.ComponentModel.ISupportInitialize)(this.uxGppErrorProvider)).BeginInit();
			this.SuspendLayout();
						
			// 
			// uxGppErrorProvider
			// 
			this.uxGppErrorProvider.ContainerControl = this;
			this.uxGppErrorProvider.DataSource = this.uxGppBindingSource;						
			// 
			// uxGppDataGridView
			// 
			this.uxGppDataGridView.AutoGenerateColumns = false;
			this.uxGppDataGridView.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
			this.uxGppDataGridView.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
		this.uxIdDataGridViewColumn,
		this.uxI1InputDateDataGridViewColumn,
		this.uxI2KhiAmDataGridViewColumn,
		this.uxI3CondDataGridViewColumn,
		this.uxI4pCcpDataGridViewColumn,
		this.uxI6Pi0101DataGridViewColumn,
		this.uxI7Fiq0401DataGridViewColumn,
		this.uxI8Fiq0301DataGridViewColumn,
		this.uxI9Fiq0302DataGridViewColumn,
		this.uxI10Fi102ByPassDataGridViewColumn,
		this.uxI11Fiq26010hDataGridViewColumn,
		this.uxI12Fiq260124hDataGridViewColumn,
		this.uxI13Fiq2601DaDataGridViewColumn,
		this.uxI14Fiq26020hDataGridViewColumn,
		this.uxI15Fiq260224hDataGridViewColumn,
		this.uxI16Fiq2602DaDataGridViewColumn,
		this.uxI17Fiq26030hDataGridViewColumn,
		this.uxI18Fiq260324hDataGridViewColumn,
		this.uxI19Fiq2603DaDataGridViewColumn,
		this.uxI20XeBonDataGridViewColumn,
		this.uxI21Fiq2402DataGridViewColumn,
		this.uxI22Me240hDataGridViewColumn,
		this.uxI23Me2424hDataGridViewColumn,
		this.uxI24TenMeCondBhDataGridViewColumn,
		this.uxI25Me250hDataGridViewColumn,
		this.uxI26Me2524hDataGridViewColumn,
		this.uxI27Me260hDataGridViewColumn,
		this.uxI28Me2624hDataGridViewColumn,
		this.uxI29KctvNhanLpgDataGridViewColumn,
		this.uxI30KctvNhanCondDataGridViewColumn,
		this.uxI31ApSuatDataGridViewColumn,
		this.uxI32Me13aDataGridViewColumn,
		this.uxI33Me13bDataGridViewColumn,
		this.uxI34Fiq5801DataGridViewColumn,
		this.uxI35v21aMucBonDataGridViewColumn,
		this.uxI36v21bMucBonDataGridViewColumn,
		this.uxI37v21cMucBonDataGridViewColumn,
		this.uxI38Tk21MucBonDataGridViewColumn,
		this.uxI109NoteBcnDataGridViewColumn,
		this.uxI110NoteSplbhDataGridViewColumn,
		this.uxI111NoteMeCondBhDataGridViewColumn,
		this.uxI112NoteMeCondNcsDataGridViewColumn,
		this.uxStatusDataGridViewColumn,
		this.uxInputUserDataGridViewColumn,
		this.uxHidDataGridViewColumn,
		this.uxCreatedDateDataGridViewColumn			});
			this.uxGppDataGridView.Dock = System.Windows.Forms.DockStyle.Fill;
			this.uxGppDataGridView.Location = new System.Drawing.Point(0, 0);
			this.uxGppDataGridView.Name = "uxGppDataGridView";
			this.uxGppDataGridView.Size = new System.Drawing.Size(470, 300);
			this.uxGppDataGridView.TabIndex = 0;	
			this.uxGppDataGridView.BackgroundColor = System.Drawing.Color.WhiteSmoke;
			this.uxGppDataGridView.EnableHeadersVisualStyles = false;
			this.uxGppDataGridView.DataError += new System.Windows.Forms.DataGridViewDataErrorEventHandler(this.OnGppDataGridViewDataError);
			this.uxGppDataGridView.CellValueNeeded += new System.Windows.Forms.DataGridViewCellValueEventHandler(this.OnGppDataGridViewCellValueNeeded);
			this.uxGppDataGridView.CellValuePushed += new System.Windows.Forms.DataGridViewCellValueEventHandler(this.OnGppDataGridViewCellValuePushed);
			
			//
			// uxIdDataGridViewColumn
			//
			this.uxIdDataGridViewColumn.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.DisplayedCells;
			this.uxIdDataGridViewColumn.DataPropertyName = "Id";
			this.uxIdDataGridViewColumn.HeaderText = "Id";
			this.uxIdDataGridViewColumn.Name = "uxIdDataGridViewColumn";
			this.uxIdDataGridViewColumn.Resizable = System.Windows.Forms.DataGridViewTriState.True;
			this.uxIdDataGridViewColumn.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.Automatic;
			this.uxIdDataGridViewColumn.ReadOnly = true;		
			//
			// uxI1InputDateDataGridViewColumn
			//
			this.uxI1InputDateDataGridViewColumn.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.DisplayedCells;
			this.uxI1InputDateDataGridViewColumn.DataPropertyName = "I1InputDate";
			this.uxI1InputDateDataGridViewColumn.HeaderText = "I1InputDate";
			this.uxI1InputDateDataGridViewColumn.Name = "uxI1InputDateDataGridViewColumn";
			this.uxI1InputDateDataGridViewColumn.Resizable = System.Windows.Forms.DataGridViewTriState.True;
			this.uxI1InputDateDataGridViewColumn.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.Automatic;
			this.uxI1InputDateDataGridViewColumn.ReadOnly = false;		
			//
			// uxI2KhiAmDataGridViewColumn
			//
			this.uxI2KhiAmDataGridViewColumn.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.DisplayedCells;
			this.uxI2KhiAmDataGridViewColumn.DataPropertyName = "I2KhiAm";
			this.uxI2KhiAmDataGridViewColumn.HeaderText = "I2KhiAm";
			this.uxI2KhiAmDataGridViewColumn.Name = "uxI2KhiAmDataGridViewColumn";
			this.uxI2KhiAmDataGridViewColumn.Resizable = System.Windows.Forms.DataGridViewTriState.True;
			this.uxI2KhiAmDataGridViewColumn.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.Automatic;
			this.uxI2KhiAmDataGridViewColumn.ReadOnly = false;		
			//
			// uxI3CondDataGridViewColumn
			//
			this.uxI3CondDataGridViewColumn.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.DisplayedCells;
			this.uxI3CondDataGridViewColumn.DataPropertyName = "I3Cond";
			this.uxI3CondDataGridViewColumn.HeaderText = "I3Cond";
			this.uxI3CondDataGridViewColumn.Name = "uxI3CondDataGridViewColumn";
			this.uxI3CondDataGridViewColumn.Resizable = System.Windows.Forms.DataGridViewTriState.True;
			this.uxI3CondDataGridViewColumn.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.Automatic;
			this.uxI3CondDataGridViewColumn.ReadOnly = false;		
			//
			// uxI4pCcpDataGridViewColumn
			//
			this.uxI4pCcpDataGridViewColumn.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.DisplayedCells;
			this.uxI4pCcpDataGridViewColumn.DataPropertyName = "I4pCcp";
			this.uxI4pCcpDataGridViewColumn.HeaderText = "I4pCcp";
			this.uxI4pCcpDataGridViewColumn.Name = "uxI4pCcpDataGridViewColumn";
			this.uxI4pCcpDataGridViewColumn.Resizable = System.Windows.Forms.DataGridViewTriState.True;
			this.uxI4pCcpDataGridViewColumn.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.Automatic;
			this.uxI4pCcpDataGridViewColumn.ReadOnly = false;		
			//
			// uxI6Pi0101DataGridViewColumn
			//
			this.uxI6Pi0101DataGridViewColumn.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.DisplayedCells;
			this.uxI6Pi0101DataGridViewColumn.DataPropertyName = "I6Pi0101";
			this.uxI6Pi0101DataGridViewColumn.HeaderText = "I6Pi0101";
			this.uxI6Pi0101DataGridViewColumn.Name = "uxI6Pi0101DataGridViewColumn";
			this.uxI6Pi0101DataGridViewColumn.Resizable = System.Windows.Forms.DataGridViewTriState.True;
			this.uxI6Pi0101DataGridViewColumn.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.Automatic;
			this.uxI6Pi0101DataGridViewColumn.ReadOnly = false;		
			//
			// uxI7Fiq0401DataGridViewColumn
			//
			this.uxI7Fiq0401DataGridViewColumn.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.DisplayedCells;
			this.uxI7Fiq0401DataGridViewColumn.DataPropertyName = "I7Fiq0401";
			this.uxI7Fiq0401DataGridViewColumn.HeaderText = "I7Fiq0401";
			this.uxI7Fiq0401DataGridViewColumn.Name = "uxI7Fiq0401DataGridViewColumn";
			this.uxI7Fiq0401DataGridViewColumn.Resizable = System.Windows.Forms.DataGridViewTriState.True;
			this.uxI7Fiq0401DataGridViewColumn.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.Automatic;
			this.uxI7Fiq0401DataGridViewColumn.ReadOnly = false;		
			//
			// uxI8Fiq0301DataGridViewColumn
			//
			this.uxI8Fiq0301DataGridViewColumn.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.DisplayedCells;
			this.uxI8Fiq0301DataGridViewColumn.DataPropertyName = "I8Fiq0301";
			this.uxI8Fiq0301DataGridViewColumn.HeaderText = "I8Fiq0301";
			this.uxI8Fiq0301DataGridViewColumn.Name = "uxI8Fiq0301DataGridViewColumn";
			this.uxI8Fiq0301DataGridViewColumn.Resizable = System.Windows.Forms.DataGridViewTriState.True;
			this.uxI8Fiq0301DataGridViewColumn.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.Automatic;
			this.uxI8Fiq0301DataGridViewColumn.ReadOnly = false;		
			//
			// uxI9Fiq0302DataGridViewColumn
			//
			this.uxI9Fiq0302DataGridViewColumn.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.DisplayedCells;
			this.uxI9Fiq0302DataGridViewColumn.DataPropertyName = "I9Fiq0302";
			this.uxI9Fiq0302DataGridViewColumn.HeaderText = "I9Fiq0302";
			this.uxI9Fiq0302DataGridViewColumn.Name = "uxI9Fiq0302DataGridViewColumn";
			this.uxI9Fiq0302DataGridViewColumn.Resizable = System.Windows.Forms.DataGridViewTriState.True;
			this.uxI9Fiq0302DataGridViewColumn.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.Automatic;
			this.uxI9Fiq0302DataGridViewColumn.ReadOnly = false;		
			//
			// uxI10Fi102ByPassDataGridViewColumn
			//
			this.uxI10Fi102ByPassDataGridViewColumn.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.DisplayedCells;
			this.uxI10Fi102ByPassDataGridViewColumn.DataPropertyName = "I10Fi102ByPass";
			this.uxI10Fi102ByPassDataGridViewColumn.HeaderText = "I10Fi102ByPass";
			this.uxI10Fi102ByPassDataGridViewColumn.Name = "uxI10Fi102ByPassDataGridViewColumn";
			this.uxI10Fi102ByPassDataGridViewColumn.Resizable = System.Windows.Forms.DataGridViewTriState.True;
			this.uxI10Fi102ByPassDataGridViewColumn.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.Automatic;
			this.uxI10Fi102ByPassDataGridViewColumn.ReadOnly = false;		
			//
			// uxI11Fiq26010hDataGridViewColumn
			//
			this.uxI11Fiq26010hDataGridViewColumn.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.DisplayedCells;
			this.uxI11Fiq26010hDataGridViewColumn.DataPropertyName = "I11Fiq26010h";
			this.uxI11Fiq26010hDataGridViewColumn.HeaderText = "I11Fiq26010h";
			this.uxI11Fiq26010hDataGridViewColumn.Name = "uxI11Fiq26010hDataGridViewColumn";
			this.uxI11Fiq26010hDataGridViewColumn.Resizable = System.Windows.Forms.DataGridViewTriState.True;
			this.uxI11Fiq26010hDataGridViewColumn.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.Automatic;
			this.uxI11Fiq26010hDataGridViewColumn.ReadOnly = false;		
			//
			// uxI12Fiq260124hDataGridViewColumn
			//
			this.uxI12Fiq260124hDataGridViewColumn.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.DisplayedCells;
			this.uxI12Fiq260124hDataGridViewColumn.DataPropertyName = "I12Fiq260124h";
			this.uxI12Fiq260124hDataGridViewColumn.HeaderText = "I12Fiq260124h";
			this.uxI12Fiq260124hDataGridViewColumn.Name = "uxI12Fiq260124hDataGridViewColumn";
			this.uxI12Fiq260124hDataGridViewColumn.Resizable = System.Windows.Forms.DataGridViewTriState.True;
			this.uxI12Fiq260124hDataGridViewColumn.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.Automatic;
			this.uxI12Fiq260124hDataGridViewColumn.ReadOnly = false;		
			//
			// uxI13Fiq2601DaDataGridViewColumn
			//
			this.uxI13Fiq2601DaDataGridViewColumn.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.DisplayedCells;
			this.uxI13Fiq2601DaDataGridViewColumn.DataPropertyName = "I13Fiq2601Da";
			this.uxI13Fiq2601DaDataGridViewColumn.HeaderText = "I13Fiq2601Da";
			this.uxI13Fiq2601DaDataGridViewColumn.Name = "uxI13Fiq2601DaDataGridViewColumn";
			this.uxI13Fiq2601DaDataGridViewColumn.Resizable = System.Windows.Forms.DataGridViewTriState.True;
			this.uxI13Fiq2601DaDataGridViewColumn.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.Automatic;
			this.uxI13Fiq2601DaDataGridViewColumn.ReadOnly = false;		
			//
			// uxI14Fiq26020hDataGridViewColumn
			//
			this.uxI14Fiq26020hDataGridViewColumn.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.DisplayedCells;
			this.uxI14Fiq26020hDataGridViewColumn.DataPropertyName = "I14Fiq26020h";
			this.uxI14Fiq26020hDataGridViewColumn.HeaderText = "I14Fiq26020h";
			this.uxI14Fiq26020hDataGridViewColumn.Name = "uxI14Fiq26020hDataGridViewColumn";
			this.uxI14Fiq26020hDataGridViewColumn.Resizable = System.Windows.Forms.DataGridViewTriState.True;
			this.uxI14Fiq26020hDataGridViewColumn.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.Automatic;
			this.uxI14Fiq26020hDataGridViewColumn.ReadOnly = false;		
			//
			// uxI15Fiq260224hDataGridViewColumn
			//
			this.uxI15Fiq260224hDataGridViewColumn.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.DisplayedCells;
			this.uxI15Fiq260224hDataGridViewColumn.DataPropertyName = "I15Fiq260224h";
			this.uxI15Fiq260224hDataGridViewColumn.HeaderText = "I15Fiq260224h";
			this.uxI15Fiq260224hDataGridViewColumn.Name = "uxI15Fiq260224hDataGridViewColumn";
			this.uxI15Fiq260224hDataGridViewColumn.Resizable = System.Windows.Forms.DataGridViewTriState.True;
			this.uxI15Fiq260224hDataGridViewColumn.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.Automatic;
			this.uxI15Fiq260224hDataGridViewColumn.ReadOnly = false;		
			//
			// uxI16Fiq2602DaDataGridViewColumn
			//
			this.uxI16Fiq2602DaDataGridViewColumn.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.DisplayedCells;
			this.uxI16Fiq2602DaDataGridViewColumn.DataPropertyName = "I16Fiq2602Da";
			this.uxI16Fiq2602DaDataGridViewColumn.HeaderText = "I16Fiq2602Da";
			this.uxI16Fiq2602DaDataGridViewColumn.Name = "uxI16Fiq2602DaDataGridViewColumn";
			this.uxI16Fiq2602DaDataGridViewColumn.Resizable = System.Windows.Forms.DataGridViewTriState.True;
			this.uxI16Fiq2602DaDataGridViewColumn.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.Automatic;
			this.uxI16Fiq2602DaDataGridViewColumn.ReadOnly = false;		
			//
			// uxI17Fiq26030hDataGridViewColumn
			//
			this.uxI17Fiq26030hDataGridViewColumn.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.DisplayedCells;
			this.uxI17Fiq26030hDataGridViewColumn.DataPropertyName = "I17Fiq26030h";
			this.uxI17Fiq26030hDataGridViewColumn.HeaderText = "I17Fiq26030h";
			this.uxI17Fiq26030hDataGridViewColumn.Name = "uxI17Fiq26030hDataGridViewColumn";
			this.uxI17Fiq26030hDataGridViewColumn.Resizable = System.Windows.Forms.DataGridViewTriState.True;
			this.uxI17Fiq26030hDataGridViewColumn.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.Automatic;
			this.uxI17Fiq26030hDataGridViewColumn.ReadOnly = false;		
			//
			// uxI18Fiq260324hDataGridViewColumn
			//
			this.uxI18Fiq260324hDataGridViewColumn.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.DisplayedCells;
			this.uxI18Fiq260324hDataGridViewColumn.DataPropertyName = "I18Fiq260324h";
			this.uxI18Fiq260324hDataGridViewColumn.HeaderText = "I18Fiq260324h";
			this.uxI18Fiq260324hDataGridViewColumn.Name = "uxI18Fiq260324hDataGridViewColumn";
			this.uxI18Fiq260324hDataGridViewColumn.Resizable = System.Windows.Forms.DataGridViewTriState.True;
			this.uxI18Fiq260324hDataGridViewColumn.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.Automatic;
			this.uxI18Fiq260324hDataGridViewColumn.ReadOnly = false;		
			//
			// uxI19Fiq2603DaDataGridViewColumn
			//
			this.uxI19Fiq2603DaDataGridViewColumn.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.DisplayedCells;
			this.uxI19Fiq2603DaDataGridViewColumn.DataPropertyName = "I19Fiq2603Da";
			this.uxI19Fiq2603DaDataGridViewColumn.HeaderText = "I19Fiq2603Da";
			this.uxI19Fiq2603DaDataGridViewColumn.Name = "uxI19Fiq2603DaDataGridViewColumn";
			this.uxI19Fiq2603DaDataGridViewColumn.Resizable = System.Windows.Forms.DataGridViewTriState.True;
			this.uxI19Fiq2603DaDataGridViewColumn.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.Automatic;
			this.uxI19Fiq2603DaDataGridViewColumn.ReadOnly = false;		
			//
			// uxI20XeBonDataGridViewColumn
			//
			this.uxI20XeBonDataGridViewColumn.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.DisplayedCells;
			this.uxI20XeBonDataGridViewColumn.DataPropertyName = "I20XeBon";
			this.uxI20XeBonDataGridViewColumn.HeaderText = "I20XeBon";
			this.uxI20XeBonDataGridViewColumn.Name = "uxI20XeBonDataGridViewColumn";
			this.uxI20XeBonDataGridViewColumn.Resizable = System.Windows.Forms.DataGridViewTriState.True;
			this.uxI20XeBonDataGridViewColumn.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.Automatic;
			this.uxI20XeBonDataGridViewColumn.ReadOnly = false;		
			//
			// uxI21Fiq2402DataGridViewColumn
			//
			this.uxI21Fiq2402DataGridViewColumn.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.DisplayedCells;
			this.uxI21Fiq2402DataGridViewColumn.DataPropertyName = "I21Fiq2402";
			this.uxI21Fiq2402DataGridViewColumn.HeaderText = "I21Fiq2402";
			this.uxI21Fiq2402DataGridViewColumn.Name = "uxI21Fiq2402DataGridViewColumn";
			this.uxI21Fiq2402DataGridViewColumn.Resizable = System.Windows.Forms.DataGridViewTriState.True;
			this.uxI21Fiq2402DataGridViewColumn.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.Automatic;
			this.uxI21Fiq2402DataGridViewColumn.ReadOnly = false;		
			//
			// uxI22Me240hDataGridViewColumn
			//
			this.uxI22Me240hDataGridViewColumn.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.DisplayedCells;
			this.uxI22Me240hDataGridViewColumn.DataPropertyName = "I22Me240h";
			this.uxI22Me240hDataGridViewColumn.HeaderText = "I22Me240h";
			this.uxI22Me240hDataGridViewColumn.Name = "uxI22Me240hDataGridViewColumn";
			this.uxI22Me240hDataGridViewColumn.Resizable = System.Windows.Forms.DataGridViewTriState.True;
			this.uxI22Me240hDataGridViewColumn.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.Automatic;
			this.uxI22Me240hDataGridViewColumn.ReadOnly = false;		
			//
			// uxI23Me2424hDataGridViewColumn
			//
			this.uxI23Me2424hDataGridViewColumn.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.DisplayedCells;
			this.uxI23Me2424hDataGridViewColumn.DataPropertyName = "I23Me2424h";
			this.uxI23Me2424hDataGridViewColumn.HeaderText = "I23Me2424h";
			this.uxI23Me2424hDataGridViewColumn.Name = "uxI23Me2424hDataGridViewColumn";
			this.uxI23Me2424hDataGridViewColumn.Resizable = System.Windows.Forms.DataGridViewTriState.True;
			this.uxI23Me2424hDataGridViewColumn.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.Automatic;
			this.uxI23Me2424hDataGridViewColumn.ReadOnly = false;		
			//
			// uxI24TenMeCondBhDataGridViewColumn
			//
			this.uxI24TenMeCondBhDataGridViewColumn.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.DisplayedCells;
			this.uxI24TenMeCondBhDataGridViewColumn.DataPropertyName = "I24TenMeCondBh";
			this.uxI24TenMeCondBhDataGridViewColumn.HeaderText = "I24TenMeCondBh";
			this.uxI24TenMeCondBhDataGridViewColumn.Name = "uxI24TenMeCondBhDataGridViewColumn";
			this.uxI24TenMeCondBhDataGridViewColumn.Resizable = System.Windows.Forms.DataGridViewTriState.True;
			this.uxI24TenMeCondBhDataGridViewColumn.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.Automatic;
			this.uxI24TenMeCondBhDataGridViewColumn.ReadOnly = false;		
			//
			// uxI25Me250hDataGridViewColumn
			//
			this.uxI25Me250hDataGridViewColumn.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.DisplayedCells;
			this.uxI25Me250hDataGridViewColumn.DataPropertyName = "I25Me250h";
			this.uxI25Me250hDataGridViewColumn.HeaderText = "I25Me250h";
			this.uxI25Me250hDataGridViewColumn.Name = "uxI25Me250hDataGridViewColumn";
			this.uxI25Me250hDataGridViewColumn.Resizable = System.Windows.Forms.DataGridViewTriState.True;
			this.uxI25Me250hDataGridViewColumn.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.Automatic;
			this.uxI25Me250hDataGridViewColumn.ReadOnly = false;		
			//
			// uxI26Me2524hDataGridViewColumn
			//
			this.uxI26Me2524hDataGridViewColumn.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.DisplayedCells;
			this.uxI26Me2524hDataGridViewColumn.DataPropertyName = "I26Me2524h";
			this.uxI26Me2524hDataGridViewColumn.HeaderText = "I26Me2524h";
			this.uxI26Me2524hDataGridViewColumn.Name = "uxI26Me2524hDataGridViewColumn";
			this.uxI26Me2524hDataGridViewColumn.Resizable = System.Windows.Forms.DataGridViewTriState.True;
			this.uxI26Me2524hDataGridViewColumn.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.Automatic;
			this.uxI26Me2524hDataGridViewColumn.ReadOnly = false;		
			//
			// uxI27Me260hDataGridViewColumn
			//
			this.uxI27Me260hDataGridViewColumn.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.DisplayedCells;
			this.uxI27Me260hDataGridViewColumn.DataPropertyName = "I27Me260h";
			this.uxI27Me260hDataGridViewColumn.HeaderText = "I27Me260h";
			this.uxI27Me260hDataGridViewColumn.Name = "uxI27Me260hDataGridViewColumn";
			this.uxI27Me260hDataGridViewColumn.Resizable = System.Windows.Forms.DataGridViewTriState.True;
			this.uxI27Me260hDataGridViewColumn.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.Automatic;
			this.uxI27Me260hDataGridViewColumn.ReadOnly = false;		
			//
			// uxI28Me2624hDataGridViewColumn
			//
			this.uxI28Me2624hDataGridViewColumn.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.DisplayedCells;
			this.uxI28Me2624hDataGridViewColumn.DataPropertyName = "I28Me2624h";
			this.uxI28Me2624hDataGridViewColumn.HeaderText = "I28Me2624h";
			this.uxI28Me2624hDataGridViewColumn.Name = "uxI28Me2624hDataGridViewColumn";
			this.uxI28Me2624hDataGridViewColumn.Resizable = System.Windows.Forms.DataGridViewTriState.True;
			this.uxI28Me2624hDataGridViewColumn.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.Automatic;
			this.uxI28Me2624hDataGridViewColumn.ReadOnly = false;		
			//
			// uxI29KctvNhanLpgDataGridViewColumn
			//
			this.uxI29KctvNhanLpgDataGridViewColumn.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.DisplayedCells;
			this.uxI29KctvNhanLpgDataGridViewColumn.DataPropertyName = "I29KctvNhanLpg";
			this.uxI29KctvNhanLpgDataGridViewColumn.HeaderText = "I29KctvNhanLpg";
			this.uxI29KctvNhanLpgDataGridViewColumn.Name = "uxI29KctvNhanLpgDataGridViewColumn";
			this.uxI29KctvNhanLpgDataGridViewColumn.Resizable = System.Windows.Forms.DataGridViewTriState.True;
			this.uxI29KctvNhanLpgDataGridViewColumn.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.Automatic;
			this.uxI29KctvNhanLpgDataGridViewColumn.ReadOnly = false;		
			//
			// uxI30KctvNhanCondDataGridViewColumn
			//
			this.uxI30KctvNhanCondDataGridViewColumn.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.DisplayedCells;
			this.uxI30KctvNhanCondDataGridViewColumn.DataPropertyName = "I30KctvNhanCond";
			this.uxI30KctvNhanCondDataGridViewColumn.HeaderText = "I30KctvNhanCond";
			this.uxI30KctvNhanCondDataGridViewColumn.Name = "uxI30KctvNhanCondDataGridViewColumn";
			this.uxI30KctvNhanCondDataGridViewColumn.Resizable = System.Windows.Forms.DataGridViewTriState.True;
			this.uxI30KctvNhanCondDataGridViewColumn.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.Automatic;
			this.uxI30KctvNhanCondDataGridViewColumn.ReadOnly = false;		
			//
			// uxI31ApSuatDataGridViewColumn
			//
			this.uxI31ApSuatDataGridViewColumn.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.DisplayedCells;
			this.uxI31ApSuatDataGridViewColumn.DataPropertyName = "I31ApSuat";
			this.uxI31ApSuatDataGridViewColumn.HeaderText = "I31ApSuat";
			this.uxI31ApSuatDataGridViewColumn.Name = "uxI31ApSuatDataGridViewColumn";
			this.uxI31ApSuatDataGridViewColumn.Resizable = System.Windows.Forms.DataGridViewTriState.True;
			this.uxI31ApSuatDataGridViewColumn.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.Automatic;
			this.uxI31ApSuatDataGridViewColumn.ReadOnly = false;		
			//
			// uxI32Me13aDataGridViewColumn
			//
			this.uxI32Me13aDataGridViewColumn.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.DisplayedCells;
			this.uxI32Me13aDataGridViewColumn.DataPropertyName = "I32Me13a";
			this.uxI32Me13aDataGridViewColumn.HeaderText = "I32Me13a";
			this.uxI32Me13aDataGridViewColumn.Name = "uxI32Me13aDataGridViewColumn";
			this.uxI32Me13aDataGridViewColumn.Resizable = System.Windows.Forms.DataGridViewTriState.True;
			this.uxI32Me13aDataGridViewColumn.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.Automatic;
			this.uxI32Me13aDataGridViewColumn.ReadOnly = false;		
			//
			// uxI33Me13bDataGridViewColumn
			//
			this.uxI33Me13bDataGridViewColumn.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.DisplayedCells;
			this.uxI33Me13bDataGridViewColumn.DataPropertyName = "I33Me13b";
			this.uxI33Me13bDataGridViewColumn.HeaderText = "I33Me13b";
			this.uxI33Me13bDataGridViewColumn.Name = "uxI33Me13bDataGridViewColumn";
			this.uxI33Me13bDataGridViewColumn.Resizable = System.Windows.Forms.DataGridViewTriState.True;
			this.uxI33Me13bDataGridViewColumn.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.Automatic;
			this.uxI33Me13bDataGridViewColumn.ReadOnly = false;		
			//
			// uxI34Fiq5801DataGridViewColumn
			//
			this.uxI34Fiq5801DataGridViewColumn.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.DisplayedCells;
			this.uxI34Fiq5801DataGridViewColumn.DataPropertyName = "I34Fiq5801";
			this.uxI34Fiq5801DataGridViewColumn.HeaderText = "I34Fiq5801";
			this.uxI34Fiq5801DataGridViewColumn.Name = "uxI34Fiq5801DataGridViewColumn";
			this.uxI34Fiq5801DataGridViewColumn.Resizable = System.Windows.Forms.DataGridViewTriState.True;
			this.uxI34Fiq5801DataGridViewColumn.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.Automatic;
			this.uxI34Fiq5801DataGridViewColumn.ReadOnly = false;		
			//
			// uxI35v21aMucBonDataGridViewColumn
			//
			this.uxI35v21aMucBonDataGridViewColumn.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.DisplayedCells;
			this.uxI35v21aMucBonDataGridViewColumn.DataPropertyName = "I35v21aMucBon";
			this.uxI35v21aMucBonDataGridViewColumn.HeaderText = "I35v21aMucBon";
			this.uxI35v21aMucBonDataGridViewColumn.Name = "uxI35v21aMucBonDataGridViewColumn";
			this.uxI35v21aMucBonDataGridViewColumn.Resizable = System.Windows.Forms.DataGridViewTriState.True;
			this.uxI35v21aMucBonDataGridViewColumn.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.Automatic;
			this.uxI35v21aMucBonDataGridViewColumn.ReadOnly = false;		
			//
			// uxI36v21bMucBonDataGridViewColumn
			//
			this.uxI36v21bMucBonDataGridViewColumn.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.DisplayedCells;
			this.uxI36v21bMucBonDataGridViewColumn.DataPropertyName = "I36v21bMucBon";
			this.uxI36v21bMucBonDataGridViewColumn.HeaderText = "I36v21bMucBon";
			this.uxI36v21bMucBonDataGridViewColumn.Name = "uxI36v21bMucBonDataGridViewColumn";
			this.uxI36v21bMucBonDataGridViewColumn.Resizable = System.Windows.Forms.DataGridViewTriState.True;
			this.uxI36v21bMucBonDataGridViewColumn.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.Automatic;
			this.uxI36v21bMucBonDataGridViewColumn.ReadOnly = false;		
			//
			// uxI37v21cMucBonDataGridViewColumn
			//
			this.uxI37v21cMucBonDataGridViewColumn.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.DisplayedCells;
			this.uxI37v21cMucBonDataGridViewColumn.DataPropertyName = "I37v21cMucBon";
			this.uxI37v21cMucBonDataGridViewColumn.HeaderText = "I37v21cMucBon";
			this.uxI37v21cMucBonDataGridViewColumn.Name = "uxI37v21cMucBonDataGridViewColumn";
			this.uxI37v21cMucBonDataGridViewColumn.Resizable = System.Windows.Forms.DataGridViewTriState.True;
			this.uxI37v21cMucBonDataGridViewColumn.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.Automatic;
			this.uxI37v21cMucBonDataGridViewColumn.ReadOnly = false;		
			//
			// uxI38Tk21MucBonDataGridViewColumn
			//
			this.uxI38Tk21MucBonDataGridViewColumn.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.DisplayedCells;
			this.uxI38Tk21MucBonDataGridViewColumn.DataPropertyName = "I38Tk21MucBon";
			this.uxI38Tk21MucBonDataGridViewColumn.HeaderText = "I38Tk21MucBon";
			this.uxI38Tk21MucBonDataGridViewColumn.Name = "uxI38Tk21MucBonDataGridViewColumn";
			this.uxI38Tk21MucBonDataGridViewColumn.Resizable = System.Windows.Forms.DataGridViewTriState.True;
			this.uxI38Tk21MucBonDataGridViewColumn.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.Automatic;
			this.uxI38Tk21MucBonDataGridViewColumn.ReadOnly = false;		
			//
			// uxI109NoteBcnDataGridViewColumn
			//
			this.uxI109NoteBcnDataGridViewColumn.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.DisplayedCells;
			this.uxI109NoteBcnDataGridViewColumn.DataPropertyName = "I109NoteBcn";
			this.uxI109NoteBcnDataGridViewColumn.HeaderText = "I109NoteBcn";
			this.uxI109NoteBcnDataGridViewColumn.Name = "uxI109NoteBcnDataGridViewColumn";
			this.uxI109NoteBcnDataGridViewColumn.Resizable = System.Windows.Forms.DataGridViewTriState.True;
			this.uxI109NoteBcnDataGridViewColumn.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.Automatic;
			this.uxI109NoteBcnDataGridViewColumn.ReadOnly = false;		
			//
			// uxI110NoteSplbhDataGridViewColumn
			//
			this.uxI110NoteSplbhDataGridViewColumn.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.DisplayedCells;
			this.uxI110NoteSplbhDataGridViewColumn.DataPropertyName = "I110NoteSplbh";
			this.uxI110NoteSplbhDataGridViewColumn.HeaderText = "I110NoteSplbh";
			this.uxI110NoteSplbhDataGridViewColumn.Name = "uxI110NoteSplbhDataGridViewColumn";
			this.uxI110NoteSplbhDataGridViewColumn.Resizable = System.Windows.Forms.DataGridViewTriState.True;
			this.uxI110NoteSplbhDataGridViewColumn.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.Automatic;
			this.uxI110NoteSplbhDataGridViewColumn.ReadOnly = false;		
			//
			// uxI111NoteMeCondBhDataGridViewColumn
			//
			this.uxI111NoteMeCondBhDataGridViewColumn.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.DisplayedCells;
			this.uxI111NoteMeCondBhDataGridViewColumn.DataPropertyName = "I111NoteMeCondBh";
			this.uxI111NoteMeCondBhDataGridViewColumn.HeaderText = "I111NoteMeCondBh";
			this.uxI111NoteMeCondBhDataGridViewColumn.Name = "uxI111NoteMeCondBhDataGridViewColumn";
			this.uxI111NoteMeCondBhDataGridViewColumn.Resizable = System.Windows.Forms.DataGridViewTriState.True;
			this.uxI111NoteMeCondBhDataGridViewColumn.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.Automatic;
			this.uxI111NoteMeCondBhDataGridViewColumn.ReadOnly = false;		
			//
			// uxI112NoteMeCondNcsDataGridViewColumn
			//
			this.uxI112NoteMeCondNcsDataGridViewColumn.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.DisplayedCells;
			this.uxI112NoteMeCondNcsDataGridViewColumn.DataPropertyName = "I112NoteMeCondNcs";
			this.uxI112NoteMeCondNcsDataGridViewColumn.HeaderText = "I112NoteMeCondNcs";
			this.uxI112NoteMeCondNcsDataGridViewColumn.Name = "uxI112NoteMeCondNcsDataGridViewColumn";
			this.uxI112NoteMeCondNcsDataGridViewColumn.Resizable = System.Windows.Forms.DataGridViewTriState.True;
			this.uxI112NoteMeCondNcsDataGridViewColumn.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.Automatic;
			this.uxI112NoteMeCondNcsDataGridViewColumn.ReadOnly = false;		
			//
			// uxStatusDataGridViewColumn
			//
			this.uxStatusDataGridViewColumn.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.DisplayedCells;
			this.uxStatusDataGridViewColumn.DataPropertyName = "Status";
			this.uxStatusDataGridViewColumn.HeaderText = "Status";
			this.uxStatusDataGridViewColumn.Name = "uxStatusDataGridViewColumn";
			this.uxStatusDataGridViewColumn.Resizable = System.Windows.Forms.DataGridViewTriState.True;
			this.uxStatusDataGridViewColumn.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.Automatic;
			this.uxStatusDataGridViewColumn.ReadOnly = false;		
			//
			// uxInputUserDataGridViewColumn
			//
			this.uxInputUserDataGridViewColumn.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.DisplayedCells;
			this.uxInputUserDataGridViewColumn.DataPropertyName = "InputUser";
			this.uxInputUserDataGridViewColumn.HeaderText = "InputUser";
			this.uxInputUserDataGridViewColumn.Name = "uxInputUserDataGridViewColumn";
			this.uxInputUserDataGridViewColumn.Resizable = System.Windows.Forms.DataGridViewTriState.True;
			this.uxInputUserDataGridViewColumn.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.Automatic;
			this.uxInputUserDataGridViewColumn.ReadOnly = false;		
			//
			// uxHidDataGridViewColumn
			//
			this.uxHidDataGridViewColumn.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.DisplayedCells;
			this.uxHidDataGridViewColumn.DataPropertyName = "Hid";
			this.uxHidDataGridViewColumn.HeaderText = "Hid";
			this.uxHidDataGridViewColumn.Name = "uxHidDataGridViewColumn";
			this.uxHidDataGridViewColumn.Resizable = System.Windows.Forms.DataGridViewTriState.True;
			this.uxHidDataGridViewColumn.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.Automatic;
			this.uxHidDataGridViewColumn.ReadOnly = false;		
			//
			// uxCreatedDateDataGridViewColumn
			//
			this.uxCreatedDateDataGridViewColumn.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.DisplayedCells;
			this.uxCreatedDateDataGridViewColumn.DataPropertyName = "CreatedDate";
			this.uxCreatedDateDataGridViewColumn.HeaderText = "CreatedDate";
			this.uxCreatedDateDataGridViewColumn.Name = "uxCreatedDateDataGridViewColumn";
			this.uxCreatedDateDataGridViewColumn.Resizable = System.Windows.Forms.DataGridViewTriState.True;
			this.uxCreatedDateDataGridViewColumn.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.Automatic;
			this.uxCreatedDateDataGridViewColumn.ReadOnly = false;		
			//
			// uxStatusDataGridViewColumn
			//				
			this.uxStatusDataGridViewColumn.DisplayMember = "Name";	
			this.uxStatusDataGridViewColumn.ValueMember = "Id";	
			this.uxStatusDataGridViewColumn.DisplayStyleForCurrentCellOnly = true;
			//uxStatusDataGridViewColumn.DataSource = uxStatusBindingSource;				
				
			//
			// uxHidDataGridViewColumn
			//				
			this.uxHidDataGridViewColumn.DisplayMember = "I1InputDate";	
			this.uxHidDataGridViewColumn.ValueMember = "Id";	
			this.uxHidDataGridViewColumn.DisplayStyleForCurrentCellOnly = true;
			//uxHidDataGridViewColumn.DataSource = uxHidBindingSource;				
				
			//
			// uxInputUserDataGridViewColumn
			//				
			this.uxInputUserDataGridViewColumn.DisplayMember = "Username";	
			this.uxInputUserDataGridViewColumn.ValueMember = "Id";	
			this.uxInputUserDataGridViewColumn.DisplayStyleForCurrentCellOnly = true;
			//uxInputUserDataGridViewColumn.DataSource = uxInputUserBindingSource;				
				
			
			// this
			this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
			this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
			this.Controls.Add(this.uxGppDataGridView);
			this.Name = "GppDataGridView";
			this.Size = new System.Drawing.Size(470, 300);
			//((System.ComponentModel.ISupportInitialize)(this.uxStatusBindingSource)).EndInit();
			//((System.ComponentModel.ISupportInitialize)(this.uxHidBindingSource)).EndInit();
			//((System.ComponentModel.ISupportInitialize)(this.uxInputUserBindingSource)).EndInit();
			((System.ComponentModel.ISupportInitialize)(this.uxGppErrorProvider)).EndInit();
			((System.ComponentModel.ISupportInitialize)(this.uxGppDataGridView)).EndInit();
			((System.ComponentModel.ISupportInitialize)(this.uxGppBindingSource)).EndInit();
			this.ResumeLayout(false);
		}
		#endregion
				
		#region events
		
		/// <summary>
		/// Raised the CurrentEntityChanged event.
		/// </summary>
		protected void OnCurrentEntityChanged()
		{
			if (CurrentEntityChanged != null)
			{
				GppDataGridViewEventArgs args = new GppDataGridViewEventArgs();
				args.Gpp = _currentGpp;
				CurrentEntityChanged(this, args); 
			}
		}
		
		#endregion
		
		/// <summary>
		/// Strongly typed event 
		/// </summary>
		public class GppDataGridViewEventArgs : System.EventArgs
		{
			private Entities.Gpp	_Gpp;
	
			/// <summary>
			/// the  Entities.Gpp instance.
			/// </summary>
			public Entities.Gpp Gpp
			{
				get { return _Gpp; }
				set { _Gpp = value; }
			}	
		}
		
		/// <summary>
		/// Handles the DataError event of the uxGppDataGridView control.
		/// </summary>
		/// <param name="sender">The source of the event.</param>
		/// <param name="e">The <see cref="T:System.Windows.Forms.DataGridViewDataErrorEventArgs"/> instance containing the event data.</param>
		protected void OnGppDataGridViewDataError(object sender, System.Windows.Forms.DataGridViewDataErrorEventArgs e)
		{
			System.Diagnostics.Debug.WriteLine(string.Format( "{0}, {1}", e.ColumnIndex, e.RowIndex));
		}
		
		/// <summary>
		/// Handles the CellValueNeeded event of the uxGppDataGridView control.
		/// </summary>
		/// <param name="sender">The source of the event.</param>
		/// <param name="e">The <see cref="T:System.Windows.Forms.DataGridViewCellValueEventArgs"/> instance containing the event data.</param>
		protected void OnGppDataGridViewCellValueNeeded(object sender, System.Windows.Forms.DataGridViewCellValueEventArgs e)
		{
			switch(uxGppDataGridView.Columns[e.ColumnIndex].Name)
			{
					case "uxIdDataGridViewColumn":
						e.Value = GppList[e.RowIndex].Id;
						break;
					case "uxI1InputDateDataGridViewColumn":
						e.Value = GppList[e.RowIndex].I1InputDate;
						break;
					case "uxI2KhiAmDataGridViewColumn":
						e.Value = GppList[e.RowIndex].I2KhiAm;
						break;
					case "uxI3CondDataGridViewColumn":
						e.Value = GppList[e.RowIndex].I3Cond;
						break;
					case "uxI4pCcpDataGridViewColumn":
						e.Value = GppList[e.RowIndex].I4pCcp;
						break;
					case "uxI6Pi0101DataGridViewColumn":
						e.Value = GppList[e.RowIndex].I6Pi0101;
						break;
					case "uxI7Fiq0401DataGridViewColumn":
						e.Value = GppList[e.RowIndex].I7Fiq0401;
						break;
					case "uxI8Fiq0301DataGridViewColumn":
						e.Value = GppList[e.RowIndex].I8Fiq0301;
						break;
					case "uxI9Fiq0302DataGridViewColumn":
						e.Value = GppList[e.RowIndex].I9Fiq0302;
						break;
					case "uxI10Fi102ByPassDataGridViewColumn":
						e.Value = GppList[e.RowIndex].I10Fi102ByPass;
						break;
					case "uxI11Fiq26010hDataGridViewColumn":
						e.Value = GppList[e.RowIndex].I11Fiq26010h;
						break;
					case "uxI12Fiq260124hDataGridViewColumn":
						e.Value = GppList[e.RowIndex].I12Fiq260124h;
						break;
					case "uxI13Fiq2601DaDataGridViewColumn":
						e.Value = GppList[e.RowIndex].I13Fiq2601Da;
						break;
					case "uxI14Fiq26020hDataGridViewColumn":
						e.Value = GppList[e.RowIndex].I14Fiq26020h;
						break;
					case "uxI15Fiq260224hDataGridViewColumn":
						e.Value = GppList[e.RowIndex].I15Fiq260224h;
						break;
					case "uxI16Fiq2602DaDataGridViewColumn":
						e.Value = GppList[e.RowIndex].I16Fiq2602Da;
						break;
					case "uxI17Fiq26030hDataGridViewColumn":
						e.Value = GppList[e.RowIndex].I17Fiq26030h;
						break;
					case "uxI18Fiq260324hDataGridViewColumn":
						e.Value = GppList[e.RowIndex].I18Fiq260324h;
						break;
					case "uxI19Fiq2603DaDataGridViewColumn":
						e.Value = GppList[e.RowIndex].I19Fiq2603Da;
						break;
					case "uxI20XeBonDataGridViewColumn":
						e.Value = GppList[e.RowIndex].I20XeBon;
						break;
					case "uxI21Fiq2402DataGridViewColumn":
						e.Value = GppList[e.RowIndex].I21Fiq2402;
						break;
					case "uxI22Me240hDataGridViewColumn":
						e.Value = GppList[e.RowIndex].I22Me240h;
						break;
					case "uxI23Me2424hDataGridViewColumn":
						e.Value = GppList[e.RowIndex].I23Me2424h;
						break;
					case "uxI24TenMeCondBhDataGridViewColumn":
						e.Value = GppList[e.RowIndex].I24TenMeCondBh;
						break;
					case "uxI25Me250hDataGridViewColumn":
						e.Value = GppList[e.RowIndex].I25Me250h;
						break;
					case "uxI26Me2524hDataGridViewColumn":
						e.Value = GppList[e.RowIndex].I26Me2524h;
						break;
					case "uxI27Me260hDataGridViewColumn":
						e.Value = GppList[e.RowIndex].I27Me260h;
						break;
					case "uxI28Me2624hDataGridViewColumn":
						e.Value = GppList[e.RowIndex].I28Me2624h;
						break;
					case "uxI29KctvNhanLpgDataGridViewColumn":
						e.Value = GppList[e.RowIndex].I29KctvNhanLpg;
						break;
					case "uxI30KctvNhanCondDataGridViewColumn":
						e.Value = GppList[e.RowIndex].I30KctvNhanCond;
						break;
					case "uxI31ApSuatDataGridViewColumn":
						e.Value = GppList[e.RowIndex].I31ApSuat;
						break;
					case "uxI32Me13aDataGridViewColumn":
						e.Value = GppList[e.RowIndex].I32Me13a;
						break;
					case "uxI33Me13bDataGridViewColumn":
						e.Value = GppList[e.RowIndex].I33Me13b;
						break;
					case "uxI34Fiq5801DataGridViewColumn":
						e.Value = GppList[e.RowIndex].I34Fiq5801;
						break;
					case "uxI35v21aMucBonDataGridViewColumn":
						e.Value = GppList[e.RowIndex].I35v21aMucBon;
						break;
					case "uxI36v21bMucBonDataGridViewColumn":
						e.Value = GppList[e.RowIndex].I36v21bMucBon;
						break;
					case "uxI37v21cMucBonDataGridViewColumn":
						e.Value = GppList[e.RowIndex].I37v21cMucBon;
						break;
					case "uxI38Tk21MucBonDataGridViewColumn":
						e.Value = GppList[e.RowIndex].I38Tk21MucBon;
						break;
					case "uxI109NoteBcnDataGridViewColumn":
						e.Value = GppList[e.RowIndex].I109NoteBcn;
						break;
					case "uxI110NoteSplbhDataGridViewColumn":
						e.Value = GppList[e.RowIndex].I110NoteSplbh;
						break;
					case "uxI111NoteMeCondBhDataGridViewColumn":
						e.Value = GppList[e.RowIndex].I111NoteMeCondBh;
						break;
					case "uxI112NoteMeCondNcsDataGridViewColumn":
						e.Value = GppList[e.RowIndex].I112NoteMeCondNcs;
						break;
					case "uxStatusDataGridViewColumn":
						e.Value = GppList[e.RowIndex].Status;
						break;
					case "uxInputUserDataGridViewColumn":
						e.Value = GppList[e.RowIndex].InputUser;
						break;
					case "uxHidDataGridViewColumn":
						e.Value = GppList[e.RowIndex].Hid;
						break;
					case "uxCreatedDateDataGridViewColumn":
						e.Value = GppList[e.RowIndex].CreatedDate;
						break;
				default:
				break;
			}
		}
		
		/// <summary>
		/// Handles the CellValuePushed event of the uxGppDataGridView control.
		/// </summary>
		/// <param name="sender">The source of the event.</param>
		/// <param name="e">The <see cref="T:System.Windows.Forms.DataGridViewCellValueEventArgs"/> instance containing the event data.</param>
		protected void OnGppDataGridViewCellValuePushed(object sender, System.Windows.Forms.DataGridViewCellValueEventArgs e)
		{
			switch(uxGppDataGridView.Columns[e.ColumnIndex].Name)
			{
					case "uxIdDataGridViewColumn":
						GppList[e.RowIndex].Id = (System.Int64)e.Value;
						break;
					case "uxI1InputDateDataGridViewColumn":
						GppList[e.RowIndex].I1InputDate = (System.DateTime)e.Value;
						break;
					case "uxI2KhiAmDataGridViewColumn":
						GppList[e.RowIndex].I2KhiAm = (System.Double)e.Value;
						break;
					case "uxI3CondDataGridViewColumn":
						GppList[e.RowIndex].I3Cond = (System.Double)e.Value;
						break;
					case "uxI4pCcpDataGridViewColumn":
						GppList[e.RowIndex].I4pCcp = (System.Double)e.Value;
						break;
					case "uxI6Pi0101DataGridViewColumn":
						GppList[e.RowIndex].I6Pi0101 = (System.Double)e.Value;
						break;
					case "uxI7Fiq0401DataGridViewColumn":
						GppList[e.RowIndex].I7Fiq0401 = (System.Double)e.Value;
						break;
					case "uxI8Fiq0301DataGridViewColumn":
						GppList[e.RowIndex].I8Fiq0301 = (System.Double)e.Value;
						break;
					case "uxI9Fiq0302DataGridViewColumn":
						GppList[e.RowIndex].I9Fiq0302 = (System.Double)e.Value;
						break;
					case "uxI10Fi102ByPassDataGridViewColumn":
						GppList[e.RowIndex].I10Fi102ByPass = (System.Double)e.Value;
						break;
					case "uxI11Fiq26010hDataGridViewColumn":
						GppList[e.RowIndex].I11Fiq26010h = (System.Double)e.Value;
						break;
					case "uxI12Fiq260124hDataGridViewColumn":
						GppList[e.RowIndex].I12Fiq260124h = (System.Double)e.Value;
						break;
					case "uxI13Fiq2601DaDataGridViewColumn":
						GppList[e.RowIndex].I13Fiq2601Da = (System.Double)e.Value;
						break;
					case "uxI14Fiq26020hDataGridViewColumn":
						GppList[e.RowIndex].I14Fiq26020h = (System.Double)e.Value;
						break;
					case "uxI15Fiq260224hDataGridViewColumn":
						GppList[e.RowIndex].I15Fiq260224h = (System.Double)e.Value;
						break;
					case "uxI16Fiq2602DaDataGridViewColumn":
						GppList[e.RowIndex].I16Fiq2602Da = (System.Double)e.Value;
						break;
					case "uxI17Fiq26030hDataGridViewColumn":
						GppList[e.RowIndex].I17Fiq26030h = (System.Double)e.Value;
						break;
					case "uxI18Fiq260324hDataGridViewColumn":
						GppList[e.RowIndex].I18Fiq260324h = (System.Double)e.Value;
						break;
					case "uxI19Fiq2603DaDataGridViewColumn":
						GppList[e.RowIndex].I19Fiq2603Da = (System.Double)e.Value;
						break;
					case "uxI20XeBonDataGridViewColumn":
						GppList[e.RowIndex].I20XeBon = (System.Double)e.Value;
						break;
					case "uxI21Fiq2402DataGridViewColumn":
						GppList[e.RowIndex].I21Fiq2402 = (System.Double)e.Value;
						break;
					case "uxI22Me240hDataGridViewColumn":
						GppList[e.RowIndex].I22Me240h = (System.Double)e.Value;
						break;
					case "uxI23Me2424hDataGridViewColumn":
						GppList[e.RowIndex].I23Me2424h = (System.Double)e.Value;
						break;
					case "uxI24TenMeCondBhDataGridViewColumn":
						GppList[e.RowIndex].I24TenMeCondBh = (System.String)e.Value;
						break;
					case "uxI25Me250hDataGridViewColumn":
						GppList[e.RowIndex].I25Me250h = (System.Double)e.Value;
						break;
					case "uxI26Me2524hDataGridViewColumn":
						GppList[e.RowIndex].I26Me2524h = (System.Double)e.Value;
						break;
					case "uxI27Me260hDataGridViewColumn":
						GppList[e.RowIndex].I27Me260h = (System.Double)e.Value;
						break;
					case "uxI28Me2624hDataGridViewColumn":
						GppList[e.RowIndex].I28Me2624h = (System.Double)e.Value;
						break;
					case "uxI29KctvNhanLpgDataGridViewColumn":
						GppList[e.RowIndex].I29KctvNhanLpg = (System.Double)e.Value;
						break;
					case "uxI30KctvNhanCondDataGridViewColumn":
						GppList[e.RowIndex].I30KctvNhanCond = (System.Double)e.Value;
						break;
					case "uxI31ApSuatDataGridViewColumn":
						GppList[e.RowIndex].I31ApSuat = (System.Double)e.Value;
						break;
					case "uxI32Me13aDataGridViewColumn":
						GppList[e.RowIndex].I32Me13a = (System.Double)e.Value;
						break;
					case "uxI33Me13bDataGridViewColumn":
						GppList[e.RowIndex].I33Me13b = (System.Double)e.Value;
						break;
					case "uxI34Fiq5801DataGridViewColumn":
						GppList[e.RowIndex].I34Fiq5801 = (System.Double)e.Value;
						break;
					case "uxI35v21aMucBonDataGridViewColumn":
						GppList[e.RowIndex].I35v21aMucBon = (System.Double)e.Value;
						break;
					case "uxI36v21bMucBonDataGridViewColumn":
						GppList[e.RowIndex].I36v21bMucBon = (System.Double)e.Value;
						break;
					case "uxI37v21cMucBonDataGridViewColumn":
						GppList[e.RowIndex].I37v21cMucBon = (System.Double)e.Value;
						break;
					case "uxI38Tk21MucBonDataGridViewColumn":
						GppList[e.RowIndex].I38Tk21MucBon = (System.Double)e.Value;
						break;
					case "uxI109NoteBcnDataGridViewColumn":
						GppList[e.RowIndex].I109NoteBcn = (System.String)e.Value;
						break;
					case "uxI110NoteSplbhDataGridViewColumn":
						GppList[e.RowIndex].I110NoteSplbh = (System.String)e.Value;
						break;
					case "uxI111NoteMeCondBhDataGridViewColumn":
						GppList[e.RowIndex].I111NoteMeCondBh = (System.String)e.Value;
						break;
					case "uxI112NoteMeCondNcsDataGridViewColumn":
						GppList[e.RowIndex].I112NoteMeCondNcs = (System.String)e.Value;
						break;
					case "uxStatusDataGridViewColumn":
						GppList[e.RowIndex].Status = (System.Int32)e.Value;
						break;
					case "uxInputUserDataGridViewColumn":
						GppList[e.RowIndex].InputUser = (System.Int32)e.Value;
						break;
					case "uxHidDataGridViewColumn":
						GppList[e.RowIndex].Hid = (System.Int64?)e.Value;
						break;
					case "uxCreatedDateDataGridViewColumn":
						GppList[e.RowIndex].CreatedDate = (System.DateTime)e.Value;
						break;
				default:
				break;
			}
		}
	}
}
